<%--
  Created by IntelliJ IDEA.
  User: admin
  Date: 2020/1/19
  Time: 15:37
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<html>
<head>
    <title>教师-修改信息</title>
</head>
<body>
<form id="frm"  method="post"  action="<%=request.getContextPath()%>/teacher/update" >

    <table border="0" cellpadding="0" id="mytable" cellspacing="0" class="formlist"
           style="width: 100%; table-layout: fixed;">

        <tr>
            <th><span class="required">*</span>姓名</th>
            <td>
                <input type="hidden" name="id" value="${teacher.id}">
                <input type="text" id="name" title="" class="input"
                       name="name"  value="${teacher.name}" tip="" rules="required,trimBlank"/>
            </td>
        </tr>
        <tr>
            <th><span class="required">*</span>性别</th>
            <td>
                <input type="text" id="gender" title="" class="input"
                       name="gender"  value="${teacher.gender}" tip="" rules="required,trimBlank"/>
            </td>
        </tr>
        <tr>
            <th><span class="required">*</span>出生日期</th>
            <td>
                <input type="text" id="birthday" title="" class="input"
                       name="birthday" value="<fmt:formatDate value="${teacher.birthday}" pattern="yyyy-MM-dd hh:mm:ss"></fmt:formatDate>" tip="" rules="required,trimBlank"/>
            </td>
        </tr>
        <tr>
            <th><span class="required">*</span>学历</th>
            <td>
                <input type="text" id="education" title="" class="input"
                       name="education"  value="${teacher.education}" tip="" rules="required,trimBlank"/>
            </td>
        </tr>
        <tr>
            <th><span class="required">*</span>所管班级号</th>
            <td>
                <input type="text" id="mcid" title="" class="input"
                       name="mcid"  value="${teacher.mcid}" tip="" rules="required,trimBlank"/>
            </td>
        </tr>

        <tr>
            <th colspan="2"> <input type="submit" value="提交"></th>
        </tr>
    </table>
</form>
</body>
</html>
